﻿/*
 Write an expression that checks if given point (x, y) is inside a circle K({0, 0}, 2).
Examples:

x	    y	    inside
0	    1	    true
-2	    0	    true
-1	    2	    false
1.5	    -1	    true
-1.5    -1.5	false
100	    -30	    false
0	    0	    true
0.2	   -0.8	    true
0.9	   -1.93	false
1	   1.655	true

 */


using System;

class PointInACircle
{
    static void Main()
    {

        Console.Write("Enter X: ");
        double X = double.Parse(Console.ReadLine());
        Console.Write("enter Y: ");
        double Y = double.Parse(Console.ReadLine());

        bool inCircle = ((X <= 2) && (X >= -2)) && ((Y <= 2) && (Y >= -2));

        if (inCircle)
        {
            Console.WriteLine("The point is in Circle");
        }
        else
        {
            Console.WriteLine("The point in not in Cirlce");
        }
    }
}